package tk.mybatis.springboot.hystrix;

import org.springframework.stereotype.Component;
import org.springframework.ui.ModelMap;

import com.github.pagehelper.PageInfo;

import tk.mybatis.springboot.client.CountryClient;
import tk.mybatis.springboot.model.Country;

@Component
public class CountryHystrixClientFallback implements CountryClient{

	@Override
	public PageInfo<Country> getAll(Country country) {
		System.out.println(11111);
		return null;
	}

	@Override
	public Country add() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Country view(Integer id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public ModelMap delete(Integer id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public ModelMap save(Country country) {
		// TODO Auto-generated method stub
		return null;
	}

}
